package com.ns.school.service.edu;

import com.ns.school.po.edu.BookDB;
import com.ns.school.po.edu.LayuiResult;

import java.util.List;

public interface BookService {
    Integer updBook(BookDB bookDB) ;


    List<BookDB> findAllBooks(BookDB bookDB);


    Integer selectBook(BookDB bookDB);

    Integer selectBookCode(BookDB bookDB);


    BookDB editBook(Integer id);



    Integer bookUpdate(Integer ids);

    BookDB selectByBookId(Integer id);

    void addBookMapper(LayuiResult result,BookDB bookDB);

    void deleteBooks(LayuiResult result,BookDB bookDB);

    void shelvesBooks(LayuiResult result, BookDB bookDB);

    void frameBooks(LayuiResult result, BookDB bookDB);

    void findAll(BookDB bookDB);
}
